﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Pomodore
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            this.Location = new Point((SystemInformation.VirtualScreen.Width - this.Width - 50), (SystemInformation.VirtualScreen.Height - this.Height + 50));

            InitializeComponent();
            label1.Text += "screen-width :" + SystemInformation.VirtualScreen.Width;
            label1.Text += Environment.NewLine;
            label1.Text += "screen-height :" + SystemInformation.VirtualScreen.Height;
            label1.Text += Environment.NewLine;
            label1.Text += "width :" + this.Width;
            label1.Text += Environment.NewLine;
            label1.Text += "height :" + this.Height;
            label1.Text += Environment.NewLine;
            label1.Text += "fark-width :" + (SystemInformation.VirtualScreen.Width - this.Width);
            label1.Text += Environment.NewLine;
            label1.Text += "fark-height :" + (SystemInformation.VirtualScreen.Height - this.Height);
            base.DragEnter += Form1_DragEnter;
        }
    }
}
